package work.darren;

import work.darren.service.HelloService;

public class RpcConsumer {

    public static void main(String[] args) throws Exception {
        HelloService service = RpcFramework.refer(HelloService.class, "127.0.0.1", 9000);
        String result = service.hello("darren");
        System.out.println(result);
    }
}
